Global Index
HTML5 JS API Index
>
Media
Tutorials & Specs
TextTrackList
Extends
EventTarget
.
Properties
unsigned long
length
The length attribute of a TextTrackList object must return the number of text tracks in the list represented by the TextTrackList object.
EventHandler
onaddtrack
EventHandler
onchange
EventHandler
onremovetrack
Operations
TextTrack
getter(unsigned long index)
TextTrack
?
getTrackById
(DOMString id)
The getTrackById(id) method must return the first TextTrack in the TextTrackList object whose id IDL attribute would return a value equal to the value of the id argument. When no tracks match the given argument, the method must return null.
Referenced by
HTMLMediaElement
textTracks